<?php
    function checkArrayType1()
    {
        $Arr = array(1,2,'Tony');
        $Arr[] = 'Mike';
    }
    function checkArrayType2()
    {
        $Arr = array(1,2,'Tony');
        array_push($Arr,'Mike');
    }
    checkArrayType1();
    checkArrayType2();


    /*xdebug_start_trace('D:/xampp/htdocs/schoolloc/xdebug/index-01');
    xdebug_stop_trace();
    xdebug_start_trace('D:/xampp/htdocs/schoolloc/xdebug/index-02');
    xdebug_stop_trace();
    XAMPP site located on <?=__FILE__?>*/
?>